package com.nari.ncps.screen.dto.excelimport.ne;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 节煤减排量表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Getter
@Setter
@TableName("qt_dp_ne_safetyenv_coal_reduce")
@Schema(name = "NeSafetyenvCoalReduce对象", description = "节煤减排量表")
public class NeSafetyenvCoalReduce implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "年份")
    @TableField("year")
    private Integer year;

    @Schema(description = "月份")
    @TableField("month")
    private Integer month;

    @Schema(description = "日期，格式为yyyy-MM")
    @TableField("date")
    private String date;

    @Schema(description = "二氧化碳减排量(吨)")
    @TableField("co2_reduction")
    private BigDecimal co2Reduction;

    @Schema(description = "节约标煤量(吨)")
    @TableField("coal_saving")
    private BigDecimal coalSaving;

    @Schema(description = "区域：0-全国，1-蒙东，2-蒙西，3-其他")
    @TableField("region")
    private Byte region;

    @Schema(description = "数据来源")
    @TableField("data_source")
    private String dataSource;

    @Schema(description = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @Schema(description = "创建人")
    @TableField("creator")
    private String creator;

    @Schema(description = "更新时间")
    @TableField("update_time")
    private Date updateTime;

    @Schema(description = "更新人")
    @TableField("updater")
    private String updater;
}
